/**
 * Copyright 2005-2012 Brin.com
 * All rights reserved.
 * 
 * @project
 * @author Brin
 * @version 1.0
 * @data 2013-04-02
 */
package com.brin.code.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.brin.code.dao.NavigationDao;
import com.brin.code.model.pojo.NavigationPOJO;
import com.brin.code.service.NavigationService;
import com.brin.core.base.service.BaseService;

/**
 * 
 * @author brin
 *
 */
public class NavigationServiceImpl extends BaseService implements NavigationService{

	@Override
	public NavigationPOJO queryNavigationById(NavigationPOJO navigation) {
		return navigationDao.queryNavigationById(navigation);
	}

	@Override
	public List<NavigationPOJO> queryNavigationList(NavigationPOJO navigation) {
		return navigationDao.queryNavigationList(navigation);
	}

	@Override
	public Integer queryNavigatorCount(NavigationPOJO navigation) {
		return navigationDao.queryNavigatorCount(navigation);
	}
	
	@Autowired
	private NavigationDao navigationDao;

	public NavigationDao getNavigationDao() {
		return navigationDao;
	}

	public void setNavigationDao(NavigationDao navigationDao) {
		this.navigationDao = navigationDao;
	}

}
